const CURRENT = 'develop'

const PROFILES = {
    'develop': {
        'domain': 'https://api.meilai.yunshy.com',
        'mockDomain': 'https://mock.apifox.cn/m1/1754103-0-default',
    },
    'test': {
        'domain': 'http://meilai.local',
        'mockDomain': 'https://mock.apifox.cn/m1/1754103-0-default',
    },
    'prod': {
        'domain': 'https://api.oa.meilaiwenhua.com',
        'mockDomain': 'https://mock.apifox.cn/m1/1754103-0-default',
    }
}

const ENV = PROFILES[CURRENT]

module.exports = {
    domain: ENV.domain,
    server: ENV.domain + '/api/mini/',
    mockDomain: ENV.mockDomain,
    mockServer: ENV.mockDomain + '/api/mini/',
}